package com.heart.house.biz.mapper;

import com.heart.house.common.model.Comment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CommentMapper {

    int insertComment(Comment comment);

    List<Comment> getHouseComments(@Param("id") Long id);

    List<Comment> getBlogComments(@Param("id") Integer id);
}
